//
//  MyViewController.h
//  ios-test
//
//  Created by Apple -11 on 15/10/16.
//  Copyright (c) 2015年 Apple -11. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LikeViewController.h"
#import "BuyViewController.h"
#import "ForivteViewController.h"
#import "ShareViewController.h"
@interface MyViewController : UIViewController{
    
    IBOutlet UIButton *backButton;
    IBOutlet UILabel *titleLabel;
    IBOutlet UIButton *likeButton;
    IBOutlet UIButton *buyButton;
    IBOutlet UIButton *forivteButton;
    IBOutlet UIButton *shareButton;
    
}



@property (nonatomic,strong) UIViewController *currentViewController;

@property (nonatomic,strong) LikeViewController *likeViewController;
@property (nonatomic,strong) BuyViewController *buyViewController;
@property (nonatomic,strong) ForivteViewController *forivteViewController;
@property (nonatomic,strong) ShareViewController *shareViewController;


-(void)showChildView:(UIViewController *)target;
-(IBAction)likeButton:(id)sender;
-(IBAction)buyButton:(id)sender;
-(IBAction)forivteButton:(id)sender;
-(IBAction)shareButton:(id)sender;
-(IBAction)exit:(id)sender;
@end
